
//----------------------------------------------------------------
// Copyright (C) 2009 NStrive
// 版权所有。 
// All rights reserved.

// 文件名：MsgProtocolPropertiesConfigBean.cs
// 文件功能描述：协议属性
// 
// 
// 创建标识： kevin  2009-7-7 10:40:38
//
// 修改标识：
// 修改描述：
//----------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Strive.Util.Text;
using Strive.Util.Logging;
using Strive.Core.Validations;
using Strive.Core.Service;
using Strive.Core.Translators;
using Strive.Util.Maths;
using Strive.Reflection;
using Strive.Aspects;
using Strive.DataAccess;
using OTA.Notification.Entity;
using OTA.Notification.Entity.Protocol;

namespace OTA.Notification.Entity.Protocol
{
    /// <summary>
    ///MsgProtocolPropertiesConfig实体类
    ///对应表名:MSG_PROTOCOL_PROPERTIES_CONFIG
    /// </summary>
    [Serializable]
	[Table(Name = "MSG_PROTOCOL_PROPERTIES_CONFIG")]
    public class MsgProtocolPropertiesConfigBean
    {
        
        #region Private 成员
        private string _protocol_code=String.Empty; 
        private string _param_code=String.Empty; 
        private string _param_name=String.Empty; 
        private string _need_flag=String.Empty; 
        private string _param_type=String.Empty; 
        private string _param_enum_values=String.Empty; 
        private string _param_prompt=String.Empty;   

        #endregion
  
        
        #region Public 成员
   
        /// <summary>
        /// 属性名称：ProtocolCode
        /// 属性描述：
        /// 字段信息：[PROTOCOL_CODE],nvarchar
        /// </summary>
        [Column(Name="PROTOCOL_CODE"),PK]
		public string ProtocolCode
        {
            get { return _protocol_code; }
            set
            {
            
                if(value==null)return;
                if (_protocol_code as object == null || !_protocol_code.Equals(value))
                {
                    _protocol_code = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：ParamCode
        /// 属性描述：
        /// 字段信息：[PARAM_CODE],nvarchar
        /// </summary>
        [Column(Name="PARAM_CODE"),PK]
		public string ParamCode
        {
            get { return _param_code; }
            set
            {
            
                if(value==null)return;
                if (_param_code as object == null || !_param_code.Equals(value))
                {
                    _param_code = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：ParamName
        /// 属性描述：
        /// 字段信息：[PARAM_NAME],nvarchar
        /// </summary>
        [Column(Name="PARAM_NAME")]
		public string ParamName
        {
            get { return _param_name; }
            set
            {
            
                if(value==null)return;
                if (_param_name as object == null || !_param_name.Equals(value))
                {
                    _param_name = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：NeedFlag
        /// 属性描述：
        /// 字段信息：[NEED_FLAG],char
        /// </summary>
        [Column(Name="NEED_FLAG")]
		public string NeedFlag
        {
            get { return _need_flag; }
            set
            {
            
                if(value==null)return;
                if (_need_flag as object == null || !_need_flag.Equals(value))
                {
                    _need_flag = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：ParamType
        /// 属性描述：
        /// 字段信息：[PARAM_TYPE],nvarchar
        /// </summary>
        [Column(Name="PARAM_TYPE")]
		public string ParamType
        {
            get { return _param_type; }
            set
            {
            
                if(value==null)return;
                if (_param_type as object == null || !_param_type.Equals(value))
                {
                    _param_type = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：ParamEnumValues
        /// 属性描述：
        /// 字段信息：[PARAM_ENUM_VALUES],nvarchar
        /// </summary>
        [Column(Name="PARAM_ENUM_VALUES")]
		public string ParamEnumValues
        {
            get { return _param_enum_values; }
            set
            {
            
                if(value==null)return;
                if (_param_enum_values as object == null || !_param_enum_values.Equals(value))
                {
                    _param_enum_values = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：ParamPrompt
        /// 属性描述：
        /// 字段信息：[PARAM_PROMPT],nvarchar
        /// </summary>
        [Column(Name="PARAM_PROMPT")]
		public string ParamPrompt
        {
            get { return _param_prompt; }
            set
            {
            
                if(value==null)return;
                if (_param_prompt as object == null || !_param_prompt.Equals(value))
                {
                    _param_prompt = value;
                }
             }
        }
  
        #endregion 
  
    }
}
